Command/ startxtable
Command/ stoplinenote
Command/ style
Command/ synonym
Command/ textbackground
Command/ textnote
Command/ tooltip
Command/ type
Command/ typebuffer
Command/ unit
___
If your question is of interest to ot
\starttext.
Best regards: Otared
% begin textbackground-Ursula.tex
\definetextbackground[myBG][
location=paragraph,
background=color,
backgroundcolor=lightgray,
leftoffset=.8\bodyfontsize,
rightoffset=.8\bodyfontsize,
topoffset=.5\bodyfontsize,
bottomoffset=.5\bodyfontsize,
frame
On Wed, 31 Jan 2024 19:41:02 +0100
Hans Hagen wrote:
> >> How do it get the same spacing as in the framedtext case?
> >
> > Is there a solution to this? Or an explanation why the spacing
> > differs?
> these are fundamentally different mechanisms .. you can play with
> \inframed in the
On 1/31/2024 7:15 PM, Marco Patzer wrote:
On Thu, 16 Nov 2023 13:52:05 +0100
Marco Patzer wrote:
I'm having problems getting the textbackground spacing offset to work.
Example:
\setupframedtext
[offset=overlay,
width=max,
depthcorrection=off]
\setuptextbackground
[location
On Thu, 16 Nov 2023 13:52:05 +0100
Marco Patzer wrote:
> I'm having problems getting the textbackground spacing offset to work.
> Example:
>
> \setupframedtext
> [offset=overlay,
>width=max,
>depthcorrection=off]
>
> \setuptextbackground
> [loca
:44, Ursula Hermann wrote:
>
> If I change the name of the textbackground with my example, I sent yesterday,
> there is no color in the paragraph.
>
Try the following version of your example which incoporates Hraban's and
Wolfgang's suggestions.
Also take care over changing sty
> On 14 Dec 2023, at 09:44, Ursula Hermann wrote:
>
> If I change the name of the textbackground with my example, I sent yesterday,
> there is no color in the paragraph.
>
Try the following version of your example which incoporates Hraban's and
Wolfgang's suggestions.
Also
Dear Henning,
If I change the name of the textbackground with my example, I sent yesterday,
there is no color in the paragraph.
Many thanks
Uschi
Von: Henning Hraban Ramm
Gesendet: Mittwoch, 13. Dezember 2023 15:52:08
An: mailing list for ConTeXt users
, the behaviour is undefined.
First try to give your textbackground a different name.
Hraban
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
ext] Re: Colored Paragraph
>
> Am 05.12.23 um 14:16 schrieb Ursula Hermann:
>> The paragraph should have a color in the background. How can I get an
>> colored paragraph?
>
> Did you try \definetextbackground?
>
> https://wiki.contextgarden.ne
in the background. How can I get an
colored paragraph?
Did you try \definetextbackground?
https://wiki.contextgarden.net/TextBackground
https://wiki.contextgarden.net/Command/definetextbackground
Hraban
___
If your
:
> The paragraph should have a color in the background. How can I get an
> colored paragraph?
Did you try \definetextbackground?
https://wiki.contextgarden.net/TextBackground
https://wiki.contextgarden.net/Command/definetextbackground
: Colored Paragraph
Am 05.12.23 um 14:16 schrieb Ursula Hermann:
> The paragraph should have a color in the background. How can I get an
> colored paragraph?
Did you try \definetextbackground?
https://wiki.contextgarden.net/TextBackground
https://wiki.contextgarden.net/Command/definetextback
Am 05.12.23 um 14:16 schrieb Ursula Hermann:
The paragraph should have a color in the background. How can I get an
colored paragraph?
Did you try \definetextbackground?
https://wiki.contextgarden.net/TextBackground
https://wiki.contextgarden.net/Command/definetextbackground
Hraban
Hi!
I'm having problems getting the textbackground spacing offset to work.
Example:
\setupframedtext
[offset=overlay,
width=max,
depthcorrection=off]
\setuptextbackground
[location=paragraph,
%% offset=overlay, %% does nothing
%% backgroundoffset=overlay, %% does
of an enumeration and framedtext that can produce
> > something like in the attached picture?
>
> If you don’t need an enumeration, then don’t use one.
>
> Did you try text backgrounds?
> https://wiki.contextgarden.net/TextBackground
As an example, see this article th
t that can produce
something like in the attached picture?
If you don’t need an enumeration, then don’t use one.
Did you try text backgrounds?
https://wiki.contextgarden.net/TextBackground
And then use the plethora of \framed option
not work and I haven’t found out why. Maybe I
totally use it the wrong way. I would appreciate if someone could help me or
has a tipp.
Here is an example code, where the figure does not behave as expected, i.e. the
figure is behind the text:
[...]
You have to use the textbackground mechanism
Dear List,
the red highlight block in the following example is not covering the two
40pt characters:
\definetextbackground[important][frame=no,background=color,backgroundcolor=red]
\starttext
abc\important{123{\switchtobodyfont[40pt]45}xy}z
\stoptext
Is there an option that fixes this?
Thanks!
-drawn line.
What’s the right approach? Overlay? Textbackground?
Hraban
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman
, the textbackground is
not working. Could this be a bug or am I doing something wrong?
Cheers,
Christoph
fixed in next upload (note: tex->mp parameters are redone, more in a
pull than push fash
Hi,
Consider the MWE:
\definetextbackground[background][
background=color,
backgroundcolor=gray]
\starttext
\starttextbackground[background]
Test
\stoptextbackground
\stoptext
In the latest version 2021-06-24 of ConTeXt LMTX, the textbackground is not
working. Could this be a bug or am I
Hans van der Meer schrieb am 07.06.2021 um 21:46:
In the following MWE for a textbackground the parameter
backgroundoffset has the expected effect. But for positive values
only. A backgroundoffset=-10pt has no visible effect.
But the real problem is the parameter frameoffset. No effect at all
In the following MWE for a textbackground the parameter backgroundoffset has the expected effect. But for positive values only. A backgroundoffset=-10pt has no visible effect.But the real problem is the parameter frameoffset. No effect at all, whatever frameoffset= is set to.
dr. Hans van der Meer
On Thu, 2020-11-26 at 21:01 +0100, Johann Birnick wrote:
> On Thu, 2020-11-26 at 20:11 +0100, Wolfgang Schuster wrote:
> > Johann Birnick schrieb am 26.11.2020 um 19:42:
> > > Ah, sorry again. I use
> > >
> > > \usemodule[Scite]
> > >
> > > at the begin of the document. Removing this helps. But
You have to use the textbackground environment with a custom background
to draw the line, the sidebar environment doesn't work because the code
blocks forces a line break at the begin and end.
You can look at Adityas blog for a example to create such a background:
https://adityam.github.io/context
On Thu, 2020-11-26 at 20:11 +0100, Wolfgang Schuster wrote:
> Johann Birnick schrieb am 26.11.2020 um 19:42:
> > Ah, sorry again. I use
> >
> > \usemodule[Scite]
> >
> > at the begin of the document. Removing this helps. But I need it for the C
> > and
> > Cpp pretty printer. So do you know
Johann Birnick schrieb am 26.11.2020 um 19:42:
Ah, sorry again. I use
\usemodule[Scite]
at the begin of the document. Removing this helps. But I need it for the C and
Cpp pretty printer. So do you know what's going on with Scite module?
1. There is still no working minimal example, just
On Thu, 2020-11-26 at 19:39 +0100, Johann Birnick wrote:
> On Thu, 2020-11-26 at 19:35 +0100, Wolfgang Schuster wrote:
> > Johann Birnick schrieb am 26.11.2020 um 19:26:
> > > I didn't want to copy paste it :D Just add [option=XML] to \starttext like
> > > this:
> >
> > Why do pass a option for
On Thu, 2020-11-26 at 19:35 +0100, Wolfgang Schuster wrote:
> Johann Birnick schrieb am 26.11.2020 um 19:26:
> > I didn't want to copy paste it :D Just add [option=XML] to \starttext like
> > this:
>
> Why do pass a option for the typing environment to \starttext?
>
> >
Johann Birnick schrieb am 26.11.2020 um 19:26:
I didn't want to copy paste it :D Just add [option=XML] to \starttext like this:
Why do pass a option for the typing environment to \starttext?
\definetextbackground[code][background=color, backgroundcolor=lightgray,
frame=off,
On Thu, 26 Nov 2020, Johann Birnick wrote:
> On Thu, 2020-11-26 at 19:17 +0100, Wolfgang Schuster wrote:
> > Johann Birnick schrieb am 26.11.2020 um 19:10:
> > > On Thu, 2020-11-26 at 17:31 +0100, Wolfgang Schuster wrote:
> > > > Johann Birnick schrieb am 26.11.2020 um 17:00:
> > > > > On Thu,
On Thu, 2020-11-26 at 19:17 +0100, Wolfgang Schuster wrote:
> Johann Birnick schrieb am 26.11.2020 um 19:10:
> > On Thu, 2020-11-26 at 17:31 +0100, Wolfgang Schuster wrote:
> > > Johann Birnick schrieb am 26.11.2020 um 17:00:
> > > > On Thu, 2020-11-26 at 09:38 -0500, Aditya Mahajan wrote:
> > > >
Johann Birnick schrieb am 26.11.2020 um 19:10:
On Thu, 2020-11-26 at 17:31 +0100, Wolfgang Schuster wrote:
Johann Birnick schrieb am 26.11.2020 um 17:00:
On Thu, 2020-11-26 at 09:38 -0500, Aditya Mahajan wrote:
On Thu, 26 Nov 2020, Johann Birnick wrote:
How to surround such things properly?
On Thu, 2020-11-26 at 17:31 +0100, Wolfgang Schuster wrote:
> Johann Birnick schrieb am 26.11.2020 um 17:00:
> > On Thu, 2020-11-26 at 09:38 -0500, Aditya Mahajan wrote:
> > > On Thu, 26 Nov 2020, Johann Birnick wrote:
> > >
> > > > How to surround such things properly? I just want a background
Johann Birnick schrieb am 26.11.2020 um 17:00:
On Thu, 2020-11-26 at 09:38 -0500, Aditya Mahajan wrote:
On Thu, 26 Nov 2020, Johann Birnick wrote:
How to surround such things properly? I just want a background to these and
a
sidebar. No addition spacing / empty lines.
A MWE will help...
On Thu, 26 Nov 2020, Johann Birnick wrote:
> On Thu, 2020-11-26 at 09:38 -0500, Aditya Mahajan wrote:
> > On Thu, 26 Nov 2020, Johann Birnick wrote:
> >
> > > How to surround such things properly? I just want a background to these
> > > and
> > > a
> > > sidebar. No addition spacing / empty
On Thu, 2020-11-26 at 09:38 -0500, Aditya Mahajan wrote:
> On Thu, 26 Nov 2020, Johann Birnick wrote:
>
> > How to surround such things properly? I just want a background to these and
> > a
> > sidebar. No addition spacing / empty lines.
>
> A MWE will help...
>
> Aditya
For example, take:
On Thu, 26 Nov 2020, Johann Birnick wrote:
> How to surround such things properly? I just want a background to these and a
> sidebar. No addition spacing / empty lines.
A MWE will help...
Aditya
___
If your question
Hi there,
in my document(s) I have enumerations (created with \defineenumeration) and
"typing"s (created with \definetyping) and I need to give a specific layout to
them. In particular, I want to add textbackground (created with
\definetextbackground) and sometimes a sideba
\stopitem}
\stopitemize
\stoptextbackground
\stoptext
Le jeu. 16 juil. 2020 à 14:59, Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> a écrit :
> Otared Kavian schrieb am 16.07.2020 um 11:58:
> > Hi Fabrice,
> >
> > Maybe you can play with different sett
Otared Kavian schrieb am 16.07.2020 um 11:58:
Hi Fabrice,
Maybe you can play with different settings of your textbackground, as in
\definetextbackground[fondpaille]
[background=color,
backgroundcolor=fondpaille,
frame=off,
location=paragraph, % or: text, always
Hi Fabrice,
Maybe you can play with different settings of your textbackground, as in
\definetextbackground[fondpaille]
[background=color,
backgroundcolor=fondpaille,
frame=off,
location=paragraph, % or: text, always, paragraph
backgroundoffset=4pt
; >> \startframedtext[width=max,background=color,backgroundcolor=fondpaille]
> >> \placefloat[][right,none]{}
> >>{\externalfigure[dummy]}
> >> \startitemize[n]
> >>\dorecurse{3}{\startitem \input
;> \startitemize[n]
>>\dorecurse{3}{\startitem \input ward \stopitem}
>> \stopitemize
>>\stopframedtext
>>\stoptext
>
>
> Side floats don't work in frames, use the textbackground environment to add a
> colored box behind the text.
>
> Wo
,background=color,backgroundcolor=fondpaille]
\placefloat[][right,none]{}
{\externalfigure[dummy]}
\startitemize[n]
\dorecurse{3}{\startitem \input ward \stopitem}
\stopitemize
\stopframedtext
\stoptext
Side floats don't work in frames, use the textbackground
> Am 11.06.2020 um 13:41 schrieb Axel Kielhorn :
>
>> Am 09.06.2020 um 20:41 schrieb Wolfgang Schuster
>> :
>>
>> Use a textbackground to highlight parts of your text.
>>
>> \definetextbackground
>> [Highlight]
>> [frame=off,
>> bac
> Am 09.06.2020 um 20:41 schrieb Wolfgang Schuster
> :
>
> Use a textbackground to highlight parts of your text.
>
> \definetextbackground
> [Highlight]
> [frame=off,
> background=color,
> backgroundcolor=yellow]
>
> \starttext
>
> \m{1
background filled fully, but anyway - how about
usage of "bar" for this?
Use a textbackground to highlight parts of your text.
\definetextbackground
[Highlight]
[frame=off,
background=color,
backgroundcolor=yellow]
\starttext
\m{1 + 2 = \unit{3 kilo newton}}
\m{1 + 2 = \Highlig
Henning Hraban Ramm schrieb am 01.06.2020 um 20:22:
Hi,
I finally wanted to attack CG journal 2019 again and stumble upon this error:
If an article contains several \starttyping ... \stoptyping examples with a
textbackground, it sometimes fills the whole column (pagecolumns). It doesn’t occur
Hi,
I finally wanted to attack CG journal 2019 again and stumble upon this error:
If an article contains several \starttyping ... \stoptyping examples with a
textbackground, it sometimes fills the whole column (pagecolumns). It doesn’t
occur if the "typing" is at top or bottom of
Jon Wong schrieb am 06.12.2019 um 04:13:
\setupwhitespace[line] % A line's spacing between paragraphs.
\starttext
\definetextbackground[InfoText][
location=paragraph, frame=on]
You can't use "location=paragraph" because the argument of the \setlayer
command is a simple horizontal box
\setupwhitespace[line] % A line's spacing between paragraphs.
\starttext
\definetextbackground[InfoText][
location=paragraph, frame=on]
\definelayer[testlayer]
\setlayer[testlayer][x=1cm,y=3cm]{%
\startInfoText
\stopInfoText
}
\flushlayer[testlayer]
\stoptext
Doesn’t work. Only works if
otnote and its number a little to the
> right, or the leftbartext to the left.
>
> Best regards: OK
>
> > On 5 Sep 2019, at 06:45, Aditya Mahajan wrote:
> >
> > On Thu, 5 Sep 2019, Otared Kavian wrote:
> >
> >> Hi Wolfgang,
> >>
>
to the left.
Best regards: OK
> On 5 Sep 2019, at 06:45, Aditya Mahajan wrote:
>
> On Thu, 5 Sep 2019, Otared Kavian wrote:
>
>> Hi Wolfgang,
>>
>> Thanks for your answer. I tried Hans' suggestion to use \textbackground
>> instead of background: indeed it
On Thu, 5 Sep 2019, Otared Kavian wrote:
Hi Wolfgang,
Thanks for your answer. I tried Hans' suggestion to use \textbackground instead
of background: indeed it solves the problem of incorrect page breaks, but it
seems that \setuptextbackground « leftframe=on » is not honoured, that is one
Hi Wolfgang,
Thanks for your answer. I tried Hans' suggestion to use \textbackground instead
of background: indeed it solves the problem of incorrect page breaks, but it
seems that \setuptextbackground « leftframe=on » is not honoured, that is one
cannot say for instance
r
>
> \input knuth
> \stoptext
>
> Regards
> Jon
>
>
>> On Aug 21, 2019, at 9:37 PM, Jon Wong > <mailto:jhannw...@gmail.com>> wrote:
>>
>> Hi all,
>>
>> Ah, found the solution in TextBackground. At here:
>> https://www.conte
,
>
> Ah, found the solution in TextBackground. At here:
> https://www.contextgarden.net/TextBackground
> <https://www.contextgarden.net/TextBackground>
>
> Can I have a 2-segment (2 vboxes) TextBackground (presumably with 2
> TextBackgrounds, zero vspace between the
Hi all,
Ah, found the solution in TextBackground. At here:
https://www.contextgarden.net/TextBackground
<https://www.contextgarden.net/TextBackground>
Can I have a 2-segment (2 vboxes) TextBackground (presumably with 2
TextBackgrounds, zero vspace between them)?
For the top segment,
.
If the caption is short, the box should be minimal. Is this possible?
Even better would be a textbackground just behind the text lines.
Unfortunately my MP foo is not up to the task, the rectangular shadow was hard
enough, but I’d try.
There’s an example in details.pdf, but I don’t understand
be minimal. Is this possible?
Even better would be a textbackground just behind the text lines.
Unfortunately my MP foo is not up to the task, the rectangular shadow was hard
enough, but I’d try.
There’s an example in details.pdf, but I don’t understand how I could
manipulate the path around the text
gt;> I appears that I was not clear enough, though I am happy about the
>> possibility of using textbackground.
>> What I must do is to prepare a list of ConTeXt commands on a very small
>> page. So the specific question is, how I can influence the
>> \placelistofsorts[texcomm
Willi Egger schrieb am 20.03.19 um 22:11:
It’s me again…
I appears that I was not clear enough, though I am happy about the possibility
of using textbackground.
What I must do is to prepare a list of ConTeXt commands on a very small page.
So the specific question is, how I can influence
It’s me again…
I appears that I was not clear enough, though I am happy about the possibility
of using textbackground.
What I must do is to prepare a list of ConTeXt commands on a very small page.
So the specific question is, how I can influence the
\placelistofsorts[texcommand] in such a way
{\dorecurse{3}{\input ward\blank}}
\stoptext
Any hints would be welcome
Use the textbackground environment.
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki
> In this minimal example, the frame doesn't appear (or if i set
> > [frame=on,leftframe=off] all the frame is rendered) and the left and
> > right offsets are not took into account.
>
> textbackground uses metapost for ALL backgrounds and the default metapost
> code to draw the
> > > examples).
> > > I suppose Hans Hagen made use of metafun to do it but I encounter some
> > > problems with 'textbackgrounds'.
> > >
> > > In this minimal example, the frame doesn't appear (or if i set
> > > [frame=on,leftframe=off] al
kgrounds'.
> >
> > In this minimal example, the frame doesn't appear (or if i set
> > [frame=on,leftframe=off] all the frame is rendered) and the left and
> > right offsets are not took into account.
>
> textbackground uses metapost for ALL backgrounds and the default metap
afun to do it but I encounter some
problems with 'textbackgrounds'.
In this minimal example, the frame doesn't appear (or if i set
[frame=on,leftframe=off] all the frame is rendered) and the left and
right offsets are not took into account.
textbackground uses metapost for ALL backgrounds and t
> On 2. Nov 2017, at 15:17, Thomas Floeren <t...@mac.com> wrote:
>
> Hi,
>
> I noticed that with one of the recent betas the right offset of my
> textbackgrounds doesn’t work properly anymore when the textbackground
> contains a multi-column “paragraph”.
>
>
> On 2. Nov 2017, at 18:55, Pablo Rodriguez <oi...@gmx.es> wrote:
>
> On 11/02/2017 03:17 PM, Thomas Floeren wrote:
>> Hi,
>>
>> I noticed that with one of the recent betas the right offset of my
>> textbackgrounds doesn’t work properly anymore when the te
On 11/02/2017 03:17 PM, Thomas Floeren wrote:
> Hi,
>
> I noticed that with one of the recent betas the right offset of my
> textbackgrounds doesn’t work properly anymore when the textbackground
> contains a multi-column “paragraph”.
>
> The first box is OK and as expected
Hi,
I noticed that with one of the recent betas the right offset of my
textbackgrounds doesn’t work properly anymore when the textbackground contains
a multi-column “paragraph”.
A minimal:
\defineparagraphs [TestPar][n=2, distance=7mm]
\setupparagraphs [TestPar][1][width=2em
m]
> \definevimtyping[python][syntax=python, escape=on]
>
> \starttext
> \startpython[highlight=1]
> # Returns \m{\sum_{i=1}^{n}i \in F \int_i f}
> \stoppython
> \stoptext
> ```
By default, the highlighting is done using the bars mechanism. It works
for simple cases but f
lly usable:
> ```
> \usemodule[vim]
> \definevimtyping[python][syntax=python, escape=on]
>
> \starttext
> \startpython[highlight=1]
> # Returns \m{\sum_{i=1}^{n}i \in F \int_i f}
> \stoppython
> \stoptext
> ```
By default, the highlighting is done using the bar
:
> I'll look at this later
>
> >
> > Another point I saw is, that highlight together with TeX-code is not really
> > usable:
> > ```
> > \usemodule[vim]
> > \definevimtyping[python][syntax=python, escape=on]
> >
> > \starttext
> > \sta
t; > Another point I saw is, that highlight together with TeX-code is not really
> > usable:
> > ```
> > \usemodule[vim]
> > \definevimtyping[python][syntax=python, escape=on]
> >
> > \starttext
> > \startpython[highlight=1]
> &
using the textbackground mechanism:
\definetextbackground[texthighlight]
[
background=color,
backgroundcolor=gray,
frame=off,
]
\define[1]\texthighlight{\starttexthighlight#1\stoptexthighlight}
\usemodule[vim]
\definevimtyping[python][syntax=python, escape
rttext
>>>
>>> \starttextbackground
>>> \dorecurse{10}{test\footnote{tufte}: \input tufte\par}
>>> \stoptextbackground
>>>
>>> \stoptext
>>>
>> I have found the following to be necessary when using textbackground,
>> especially
lowing to be necessary when using textbackground,
especially when backgrounds cross page boundaries:
\setnewconstant\kindofpagetextareas\plusone
% partial page. HH: low level, no high level switch (yet)
Maybe Hans can explain this?
Because it's an option (with no parameter yet .. not sure whe
following to be necessary when using textbackground,
especially when backgrounds cross page boundaries:
\setnewconstant\kindofpagetextareas\plusone
% partial page. HH: low level, no high level switch (yet)
Maybe Hans can explain this?
Alan
___
hat I can do to settle the problem? I have created a minimal example that shows the problem using textbackground to work around the footnote problem. But sadly the framedtext environment does not seem to be able to break across pages. Besides I would prefer the background solution. So what can
ctures, that is,
if there is a margin picture at the side of a textbackground, then the
textbackground is suppressed for the entire height of the margin picture.
Here is a minimal:
\setuplayout [
leftmargin=0mm,
rightmargin=45mm,
height=fit,
width=fit,
]
\definetextbackground [test]
\starttext
\placefigure [
ackgrounds now interfere with margin pictures, that
>> is,
>> if there is a margin picture at the side of a textbackground, then the
>> textbackground is suppressed for the entire height of the margin picture.
>>
>>
>> Here is a minimal:
>>
>> \setuplayout [
>> leftma
On 4/3/2017 2:20 AM, Tom wrote:
Hi,
today I updated from ConTeXt 2015.11.19 to the recent Beta 2017.03.26 16:15.
I noticed that my textbackgrounds now interfere with margin pictures, that is,
if there is a margin picture at the side of a textbackground, then the
textbackground is suppressed
Hi,
today I updated from ConTeXt 2015.11.19 to the recent Beta 2017.03.26 16:15.
I noticed that my textbackgrounds now interfere with margin pictures, that is,
if there is a margin picture at the side of a textbackground, then the
textbackground is suppressed for the entire height of the margin
On 7/3/2016 6:46 PM, Mohammad Hossein Bateni wrote:
Hello,
When using \definetextbackground in RTL setting, the boundaries are not
determined correctly (both for location=paragraph and location=text) and
colors gets messed up.
Here a sort-of-minimal example adapted from details.pdf. Is there
Hello,
When using \definetextbackground in RTL setting, the boundaries are not
determined correctly (both for location=paragraph and location=text) and
colors gets messed up.
Here a sort-of-minimal example adapted from details.pdf. Is there any
particular keys I should use in RTL to fix the
Here is a trick (due to Hans, of course) to produce a watermark image.
You can play with the idea in order to produce your own effect.
\definecolor [percent] [s=1,a=1,t=.9]
\externalfigure [cow] [background={foreground,color},backgroundcolor=percent]
Alan
On Wed, 18 May 2016 11:55:11 +
This code from three years back ia a reply to a question of placing an overlay
background. Because the cow is very black I am curious if the \externalfigure
can have a paramter to change the alpha of the cow, making it more transparent.
By the way, it is not out of curiosity only. If possible
but you can do a lot when you use Metapost to
draw the background.
\startuniqueMPgraphic{TextBackground}
path p ; p := unitsquare xscaled OverlayWidth yscaled OverlayHeight ;
draw p topenlarged 5mm ;
setbounds currentpicture to OverlayBox ;
\stopuniqueMPgraphic
\defineoverlay[Te
Hello,
For a multilingual document, alternating one language or another, not
necessarily a bilingual, translated text, I thought about using
textbackground to set-off paragraphs. This technique could also apply
to a single language text having multiple levels of information,
perhaps statements
On 2/26/2015 10:22 AM, Alan BRASLAU wrote:
Hello,
For a multilingual document, alternating one language or another, not
necessarily a bilingual, translated text, I thought about using
textbackground to set-off paragraphs. This technique could also apply
to a single language text having multiple
Hi,
How can I use textbackground within framedtext. In the following MWE, the
background extends beyond the frame of framedtext. Do I have to use a
different mechanism?
\definetextbackground[bg][
background=color,
backgroundcolor=yellow,
frame=off]
\starttext
\startframedtext
Before
schuster.wolfg...@gmail.com mailto:schuster.wolfg...@gmail.com:
You have to add „location=paragraph” to the textbackground setup.
\definetextbackground
[ChapterFrame]
[frame=off,
background=color,
backgroundcolor=green,
backgroundoffset=1ex,
location=paragraph] % default
Am 30.01.2015 um 21:43 schrieb Rob Heusdens robh...@xs4all.nl:
Correction, I added offset=none,frameoffset=0pt, to the parameters for
the textbackground frame.
Code again with correction:
% test background
\setupwhitespace[none]
\setupindenting[yes, small, next]
\setuppagenumbering
” to the textbackground setup.
\definetextbackground
[ChapterFrame]
[frame=off,
background=color,
backgroundcolor=green,
backgroundoffset=1ex,
location=paragraph] % default: location=text
\definehead [Framed][chapter]
\definehead [Frameless] [chapter]
\setuphead
[Frameless
Correction, I added offset=none,frameoffset=0pt, to the parameters for
the textbackground frame.
Code again with correction:
% test background
\setupwhitespace[none]
\setupindenting[yes, small, next]
\setuppagenumbering[alternative=doublesided]
\definetextbackground
[SummaryBackground
If you just want to reduce the width of paragraphs, use the narrower
environment. If you also want frames or background colors that break
across page, use the background environment. If you want floats and
parshape to also work, use the textbackground environment.
Aditya
On Tue, 2 Sep 2014
1 - 100 of 271 matches
Mail list logo